<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>os_amiga - Vim Documentation</title>
<meta name="Generator" content="Vim/8.0">
<meta name="plugin-version" content="vim8.0">
<meta name="syntax" content="help">
<meta name="settings" content="no_pre,use_css,expand_tabs">
<link rel="stylesheet" href="style.css" type="text/css" />

<script src="jquery.min.js" type="text/javascript"></script>
<script src="mark-current-page.js" type="text/javascript"></script>
</head>

<body>

<header>

<div class="header">
  <a href="http://vim-jp.org/">vim-jp</a>
  / <a href="http://vim-jp.org/vimdoc-en/">vimdoc-en</a>
  / os_amiga<br />
  <a name="top"></a><h1>os_amiga - Vim Documentation</h1>
  <a href="index.html">Return to main</a>

  <span class="EnglishJapaneseLink">
    <span class="CurrentLanguage">English</span>
  </span>
</div>
</header>

<nav>
<dl>

<dt>BASIC</dt>
<dd><ul>
<li><a href="quickref.html">quickref</a></li>
<li><a href="sponsor.html">sponsor</a></li>
</ul></dd>

<dt>USER MANUAL</dt>
<dd><ul>
<li><a href="usr_toc.html">usr_toc</a></li>
</ul></dd>

<dt>Getting Started</dt>
<dd><ul>
<li><a href="usr_01.html">usr_01</a></li>
<li><a href="usr_02.html">usr_02</a></li>
<li><a href="usr_03.html">usr_03</a></li>
<li><a href="usr_04.html">usr_04</a></li>
<li><a href="usr_05.html">usr_05</a></li>
<li><a href="usr_06.html">usr_06</a></li>
<li><a href="usr_07.html">usr_07</a></li>
<li><a href="usr_08.html">usr_08</a></li>
<li><a href="usr_09.html">usr_09</a></li>
<li><a href="usr_10.html">usr_10</a></li>
<li><a href="usr_11.html">usr_11</a></li>
<li><a href="usr_12.html">usr_12</a></li>
</ul></dd>

<dt>Editing Effectively</dt>
<dd><ul>
<li><a href="usr_20.html">usr_20</a></li>
<li><a href="usr_21.html">usr_21</a></li>
<li><a href="usr_22.html">usr_22</a></li>
<li><a href="usr_23.html">usr_23</a></li>
<li><a href="usr_24.html">usr_24</a></li>
<li><a href="usr_25.html">usr_25</a></li>
<li><a href="usr_26.html">usr_26</a></li>
<li><a href="usr_27.html">usr_27</a></li>
<li><a href="usr_28.html">usr_28</a></li>
<li><a href="usr_29.html">usr_29</a></li>
<li><a href="usr_30.html">usr_30</a></li>
<li><a href="usr_31.html">usr_31</a></li>
<li><a href="usr_32.html">usr_32</a></li>
</ul></dd>

<dt>Tuning Vim</dt>
<dd><ul>
<li><a href="usr_40.html">usr_40</a></li>
<li><a href="usr_41.html">usr_41</a></li>
<li><a href="usr_42.html">usr_42</a></li>
<li><a href="usr_43.html">usr_43</a></li>
<li><a href="usr_44.html">usr_44</a></li>
<li><a href="usr_45.html">usr_45</a></li>
</ul></dd>

<dt>Making Vim Run</dt>
<dd><ul>
<li><a href="usr_90.html">usr_90</a></li>
</ul></dd>

<dt>General subjects</dt>
<dd><ul>
<li><a href="intro.html">intro</a></li>
<li><a href="index.html">help</a></li>
<li><a href="helphelp.html">helphelp</a></li>
<li><a href="vimindex.html">index</a></li>
<li><a href="tags.html">tags</a></li>
<li><a href="howto.html">howto</a></li>
<li><a href="tips.html">tips</a></li>
<li><a href="message.html">message</a></li>
<li><a href="quotes.html">quotes</a></li>
<li><a href="todo.html">todo</a></li>
<li><a href="debug.html">debug</a></li>
<li><a href="develop.html">develop</a></li>
<li><a href="uganda.html">uganda</a></li>
</ul></dd>

<dt>Basic editing</dt>
<dd><ul>
<li><a href="starting.html">starting</a></li>
<li><a href="editing.html">editing</a></li>
<li><a href="motion.html">motion</a></li>
<li><a href="scroll.html">scroll</a></li>
<li><a href="insert.html">insert</a></li>
<li><a href="change.html">change</a></li>
<li><a href="indent.html">indent</a></li>
<li><a href="undo.html">undo</a></li>
<li><a href="repeat.html">repeat</a></li>
<li><a href="visual.html">visual</a></li>
<li><a href="various.html">various</a></li>
<li><a href="recover.html">recover</a></li>
</ul></dd>

<dt>Advanced editing</dt>
<dd><ul>
<li><a href="cmdline.html">cmdline</a></li>
<li><a href="options.html">options</a></li>
<li><a href="pattern.html">pattern</a></li>
<li><a href="map.html">map</a></li>
<li><a href="tagsrch.html">tagsrch</a></li>
<li><a href="quickfix.html">quickfix</a></li>
<li><a href="windows.html">windows</a></li>
<li><a href="tabpage.html">tabpage</a></li>
<li><a href="syntax.html">syntax</a></li>
<li><a href="spell.html">spell</a></li>
<li><a href="diff.html">diff</a></li>
<li><a href="autocmd.html">autocmd</a></li>
<li><a href="filetype.html">filetype</a></li>
<li><a href="eval.html">eval</a></li>
<li><a href="channel.html">channel</a></li>
<li><a href="fold.html">fold</a></li>
</ul></dd>

<dt>Special issues</dt>
<dd><ul>
<li><a href="print.html">print</a></li>
<li><a href="remote.html">remote</a></li>
<li><a href="term.html">term</a></li>
<li><a href="digraph.html">digraph</a></li>
<li><a href="mbyte.html">mbyte</a></li>
<li><a href="mlang.html">mlang</a></li>
<li><a href="arabic.html">arabic</a></li>
<li><a href="farsi.html">farsi</a></li>
<li><a href="hebrew.html">hebrew</a></li>
<li><a href="russian.html">russian</a></li>
<li><a href="ft_ada.html">ft_ada</a></li>
<li><a href="ft_sql.html">ft_sql</a></li>
<li><a href="hangulin.html">hangulin</a></li>
<li><a href="rileft.html">rileft</a></li>
</ul></dd>

<dt>GUI</dt>
<dd><ul>
<li><a href="gui.html">gui</a></li>
<li><a href="gui_w32.html">gui_w32</a></li>
<li><a href="gui_x11.html">gui_x11</a></li>
</ul></dd>

<dt>Interfaces</dt>
<dd><ul>
<li><a href="if_cscop.html">if_cscop</a></li>
<li><a href="if_lua.html">if_lua</a></li>
<li><a href="if_mzsch.html">if_mzsch</a></li>
<li><a href="if_perl.html">if_perl</a></li>
<li><a href="if_pyth.html">if_pyth</a></li>
<li><a href="if_tcl.html">if_tcl</a></li>
<li><a href="if_ole.html">if_ole</a></li>
<li><a href="if_ruby.html">if_ruby</a></li>
<li><a href="debugger.html">debugger</a></li>
<li><a href="workshop.html">workshop</a></li>
<li><a href="netbeans.html">netbeans</a></li>
<li><a href="sign.html">sign</a></li>
</ul></dd>

<dt>Versions</dt>
<dd><ul>
<li><a href="vi_diff.html">vi_diff</a></li>
<li><a href="version4.html">version4</a></li>
<li><a href="version5.html">version5</a></li>
<li><a href="version6.html">version6</a></li>
<li><a href="version7.html">version7</a></li>
<li><a href="version8.html">version8</a></li>
</ul></dd>

<dt>Remarks about specific systems</dt>
<dd><ul>
<li><a href="os_390.html">os_390</a></li>
<li><a href="os_amiga.html">os_amiga</a></li>
<li><a href="os_beos.html">os_beos</a></li>
<li><a href="os_dos.html">os_dos</a></li>
<li><a href="os_mac.html">os_mac</a></li>
<li><a href="os_mint.html">os_mint</a></li>
<li><a href="os_msdos.html">os_msdos</a></li>
<li><a href="os_os2.html">os_os2</a></li>
<li><a href="os_qnx.html">os_qnx</a></li>
<li><a href="os_risc.html">os_risc</a></li>
<li><a href="os_unix.html">os_unix</a></li>
<li><a href="os_vms.html">os_vms</a></li>
<li><a href="os_win32.html">os_win32</a></li>
</ul></dd>

<dt>Standard plugins</dt>
<dd><ul>
<li><a href="pi_getscript.html">pi_getscript</a></li>
<li><a href="pi_gzip.html">pi_gzip</a></li>
<li><a href="pi_logipat.html">pi_logipat</a></li>
<li><a href="pi_netrw.html">pi_netrw</a></li>
<li><a href="pi_paren.html">pi_paren</a></li>
<li><a href="pi_tar.html">pi_tar</a></li>
<li><a href="pi_vimball.html">pi_vimball</a></li>
<li><a href="pi_zip.html">pi_zip</a></li>
</ul></dd>

<dt>Filetype plugins</dt>
<dd><ul>
<li><a href="pi_spec.html">pi_spec</a></li>
</ul></dd>

<dt>Others</dt>
<dd><ul>
<li><a href="vim_faq.html">vim_faq</a></li>
</ul></dd>

</dl>
</nav>

<article class="Vimdoc VimdocJa">
<div id='vimCodeElement'>
<a class="Constant" href="os_amiga.html" name="os_amiga.txt">os_amiga.txt</a>&nbsp;&nbsp;For&nbsp;<span class="Identifier">Vim version 8.0.</span>&nbsp;&nbsp;Last change: 2010 Aug 14<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Identifier">VIM REFERENCE MANUAL&nbsp;&nbsp;&nbsp;&nbsp;by Bram Moolenaar</span><br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_amiga.html#Amiga" name="Amiga">Amiga</a><br>
This file contains the particularities for the Amiga version of Vim.<br>
There is also a section specifically for&nbsp;<a class="Identifier" href="os_amiga.html#MorphOS">MorphOS</a>&nbsp;below.<br>
<br>
<span class="Todo">NOTE</span>: The Amiga code is still included, but has not been maintained or tested.<br>
<br>
Installation on the Amiga:<br>
- Assign &quot;VIM:&quot; to the directory where the Vim &quot;doc&quot; directory is.&nbsp;&nbsp;Vim will<br>
&nbsp;&nbsp;look for the file &quot;VIM:doc/help.txt&quot; (for the help command).<br>
&nbsp;&nbsp;Setting the environment variable $VIM also works.&nbsp;&nbsp;And the other way around:<br>
&nbsp;&nbsp;when $VIM used and it is not defined, &quot;VIM:&quot; is used.<br>
- With DOS 1.3 or earlier: Put &quot;arp.library&quot; in &quot;libs:&quot;.&nbsp;&nbsp;Vim must have been<br>
&nbsp;&nbsp;compiled with the&nbsp;<a class="Identifier" href="various.html#+ARP">+ARP</a>&nbsp;feature enabled.&nbsp;&nbsp;Make sure that newcli and run are<br>
&nbsp;&nbsp;in &quot;C:&quot; (for executing external commands).<br>
- Put a shell that accepts a command with &quot;-c&quot; (e.g. &quot;Csh&quot; from Fish disk<br>
&nbsp;&nbsp;624) in &quot;c:&quot; or in any other directory that is in your search path (for<br>
&nbsp;&nbsp;executing external commands).<br>
<br>
If you have sufficient memory you can avoid startup delays by making Vim and<br>
csh resident with the command &quot;rez csh vim&quot;.&nbsp;&nbsp;You will have to put<br>
&quot;rezlib.library&quot; in your &quot;libs:&quot; directory.&nbsp;&nbsp;Under 2.0 you will need rez<br>
version 0.5.<br>
<br>
If you do not use digraphs, you can save some memory by recompiling without<br>
the&nbsp;<a class="Identifier" href="various.html#+digraphs">+digraphs</a>&nbsp;feature.&nbsp;&nbsp;If you want to use Vim with other terminals you can<br>
recompile with the TERMCAP option.&nbsp;&nbsp;Vim compiles with Manx 5.x and SAS 6.x.<br>
See the makefiles and feature.h.<br>
<br>
If you notice Vim crashes on some files when syntax highlighting is on, or<br>
when using a search pattern with nested wildcards, it might be that the stack<br>
is too small.&nbsp;&nbsp;Try increasing the stack size.&nbsp;&nbsp;In a shell use the Stack<br>
command before launching Vim.&nbsp;&nbsp;On the Workbench, select the Vim icon, use the<br>
workbench &quot;Info&quot; menu and change the Stack field in the form.<br>
<br>
If you want to use different colors set the termcap codes:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_mr (for inverted text)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_md (for bold text)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_me (for normal text after t_mr and t_md)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_so (for standout mode)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_se (for normal text after t_so)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_us (for underlined text)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ue (for normal text after t_us)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ZH (for italic text)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ZR (for normal text after t_ZH)<br>
<br>
Standard ANSI escape sequences are used.&nbsp;&nbsp;The codes are:<br>
30 grey char&nbsp;&nbsp; 40 grey cell&nbsp;&nbsp; &gt;0 grey background&nbsp;&nbsp;&nbsp;&nbsp;0 all attributes off<br>
31 black char&nbsp;&nbsp;41 black cell&nbsp;&nbsp;&gt;1 black background&nbsp;&nbsp; 1 boldface<br>
32 white char&nbsp;&nbsp;42 white cell&nbsp;&nbsp;&gt;2 white background&nbsp;&nbsp; 2 faint<br>
33 blue char&nbsp;&nbsp; 43 blue cell&nbsp;&nbsp; &gt;3 blue background&nbsp;&nbsp;&nbsp;&nbsp;3 italic<br>
34 grey char&nbsp;&nbsp; 44 grey cell&nbsp;&nbsp; &gt;4 grey background&nbsp;&nbsp;&nbsp;&nbsp;4 underscore<br>
35 black char&nbsp;&nbsp;45 black cell&nbsp;&nbsp;&gt;5 black background&nbsp;&nbsp; 7 reverse video<br>
36 white char&nbsp;&nbsp;46 white cell&nbsp;&nbsp;&gt;6 white background&nbsp;&nbsp; 8 invisible<br>
37 blue char&nbsp;&nbsp; 47 blue cell&nbsp;&nbsp; &gt;7 blue background<br>
<br>
The codes with '&gt;' must be the last.&nbsp;&nbsp;The cell and background color should be<br>
the same.&nbsp;&nbsp;The codes can be combined by separating them with a semicolon.&nbsp;&nbsp;For<br>
example to get white text on a blue background:<br>
<div class="helpExample">&nbsp;&nbsp;:set t_me=^V&lt;Esc&gt;[0;32;43;&gt;3m<br>
&nbsp;&nbsp;:set t_se=^V&lt;Esc&gt;[0;32;43;&gt;3m<br>
&nbsp;&nbsp;:set t_ue=^V&lt;Esc&gt;[0;32;43;&gt;3m<br>
&nbsp;&nbsp;:set t_ZR=^V&lt;Esc&gt;[0;32;43;&gt;3m<br>
&nbsp;&nbsp;:set t_md=^V&lt;Esc&gt;[1;32;43;&gt;3m<br>
&nbsp;&nbsp;:set t_mr=^V&lt;Esc&gt;[7;32;43;&gt;3m<br>
&nbsp;&nbsp;:set t_so=^V&lt;Esc&gt;[0;31;43;&gt;3m<br>
&nbsp;&nbsp;:set t_us=^V&lt;Esc&gt;[4;32;43;&gt;3m<br>
&nbsp;&nbsp;:set t_ZH=^V&lt;Esc&gt;[3;32;43;&gt;3m</div>
<br>
When using multiple commands with a filter command, e.g.<br>
<div class="helpExample">&nbsp;&nbsp;:r! echo this; echo that</div>
Only the output of the last command is used.&nbsp;&nbsp;To fix this you have to group the<br>
commands.&nbsp;&nbsp;This depends on the shell you use (that is why it is not done<br>
automatically in Vim).&nbsp;&nbsp;Examples:<br>
<div class="helpExample">&nbsp;&nbsp;:r! (echo this; echo that)<br>
&nbsp;&nbsp;:r! {echo this; echo that}</div>
<br>
Commands that accept a single file name allow for embedded spaces in the file<br>
name.&nbsp;&nbsp;However, when using commands that accept several file names, embedded<br>
spaces need to be escaped with a backslash.<br>
<br>
<span class="PreProc">------------------------------------------------------------------------------</span><br>
Vim for MorphOS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="os_amiga.html#MorphOS" name="MorphOS">MorphOS</a><br>
<br>
[this section mostly by Ali Akcaagac]<br>
<br>
For the latest info about the MorphOS version:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Constant"><a href="http://www.akcaagac.com/index_vim.html">http://www.akcaagac.com/index_vim.html</a></span><br>
<br>
<br>
<span class="PreProc">Problems</span><br>
<br>
There are a couple of problems which are not MorphOS related but more Vim and<br>
UN*X related.&nbsp;&nbsp;When starting up Vim in ram: it complains with a nag requester<br>
from MorphOS please simply ignore it.&nbsp;&nbsp;Another problem is when running Vim as<br>
is some plugins will cause a few problems which you can ignore as well.<br>
Hopefully someone will be fixing it over the time.<br>
<br>
To pass all these problems for now you can either run:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vim &lt;file to be edited&gt;<br>
<br>
or if you want to run Vim plain and enjoy the motion of Helpfiles etc. it then<br>
would be better to enter:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vim --noplugins &lt;of course you can add a file&gt;<br>
<br>
<br>
<span class="PreProc">Installation</span><br>
<br>
1) Please copy the binary 'VIM' file to c:<br>
2) Get the Vim runtime package from:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Constant">ftp://ftp.vim.org/pub/vim/amiga/vim62rt.tgz</span><br>
<br>
&nbsp;&nbsp; and unpack it in your 'Apps' directory of the MorphOS installation.&nbsp;&nbsp;For me<br>
&nbsp;&nbsp; this would create following directory hierarchy:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MorphOS:Apps/Vim/Vim62/...<br>
<br>
3) Add the following lines to your s:shell-startup (Important!).<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;Begin VIM<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set VIM=MorphOS:Apps/Vim/Vim62<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Assign HOME: &quot;&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;End VIM<br>
<br>
4) Copy the '.vimrc' file to s:<br>
<br>
5) There is also a file named 'color-sequence' included in this archive.&nbsp;&nbsp;This<br>
&nbsp;&nbsp; will set the MorphOS Shell to show ANSI colors.&nbsp;&nbsp;Please copy the file to s:<br>
&nbsp;&nbsp; and change the s:shell-startup to:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;Begin VIM<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set VIM=MorphOS:Apps/Vim/Vim62<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Assign HOME: &quot;&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Execute S:Color-Sequence<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cls<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;End VIM<br>
<br>
<br>
&nbsp;vim:tw=78:ts=8:ft=help:norl:<br>
</div>

</article>

<footer>
<a href="#top">Return to the top</a> - <a href="index.html">Return to main</a>
<span class="EnglishJapaneseLink">
  <span class="CurrentLanguage">English</span>
</span>
<br />
<div style="text-align:right;">
Hosted by <a href="https://github.com/vim-jp/vimdoc-en">vimdoc-en project</a><br />
If you met any problem, please report it to <a href="https://github.com/vim-jp/vimdoc-en/issues">issue</a>.<br />
</div>
</footer>

<!--<script src="js/check-referrer.js" type="text/javascript"></script>-->

</body>
</html>
<!-- vim:set ts=8 sts=2 sw=2 tw=0 et: -->
